#pragma once

#include <vector>
#include <string>
#include <stdint.h>

namespace TapDB {
    extern "C"
    {
        extern void jni_setUser(const char *userId);

        extern void jni_setName(const char *name);

        extern void jni_setLevel(int level);

        extern void jni_setServer(const char *server);

        extern void jni_onCharge(const char *orderId, const char *product, int64_t amount, const char * currencyType, const char *payment);

        extern void jni_onEvent(const char *eventCode, const char *properties);
    }
}